Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: describe initial/final state with State class #116

Merged
merged 8 commits into from
Apr 29, 2024

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Apr 29, 2024

Closes #108

  • Implemented a State data structure, which derives from Particle and has an index. This allows distinguishing particles in the final state if they are equal.
  • It also made it possible to generalize the dynamics builders. They were defined in the notebooks so far, but have been generalized and moved to a ampform_dpd.dynamics.builder module. See also FEAT: define RelativisticBreitWigner and FormFactor #113.
  • A helper function permutate_equal_final_states() was added for QRules state transitions with equal particles in the final state.

@redeboer redeboer added ✨ Feature New feature added to the package ⚠️ Interface Breaking changes to the API labels Apr 29, 2024
@redeboer redeboer added this to the 0.2.0 milestone Apr 29, 2024
@redeboer redeboer self-assigned this Apr 29, 2024
@redeboer redeboer merged commit a387b25 into ComPWA:main Apr 29, 2024
27 checks passed
@redeboer redeboer deleted the state-index branch April 29, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature New feature added to the package ⚠️ Interface Breaking changes to the API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support final states with equal particles
1 participant